package njust.dao;

import java.util.List;

import njust.domain.User;

public interface UserDao {
	
	public String addUser(User user);
	public boolean updateUser(User user);
	public boolean deleteUser(User user);
	
	public List getlistUser();
	public User getUserById(int id);
	public User getUserByName(String name);
	
}
